USERNAME=`whoami`
INPUT_LIST=$1
OUTPUT_TYPE=$2
HDFS_ADDR="mshadoop1"
HPATH=/user/$USERNAME/nlpdata/

./build.sh
hadoop fs -rmr nlp_out/$OUTPUT_TYPE
time hadoop jar MapReduce.jar nlp.FeatureGeneratorMR input/$INPUT_LIST nlp_out/$OUTPUT_TYPE "hdfs://${HDFS_ADDR}${HPATH}/moodWords.txt#moodWords.txt" "hdfs://${HDFS_ADDR}${HPATH}/stopWords.txt#stopWords.txt" "hdfs://${HDFS_ADDR}${HPATH}/tfiaf.txt#tfiaf.txt" "hdfs://${HDFS_ADDR}${HPATH}/tfiaftpf.txt#tfiaftpf.txt" "hdfs://${HDFS_ADDR}${HPATH}/taggerModel.txt#taggerModel.txt"
